assert_throws(:<+expected+>) { <++> }
